<?php

class PluginComment extends APlugin
{
	private $comment;

	public function load()
	{
		ApplicationFramework::get()->addInclude($this->getPath('css/plugin_comment.css'),'css');
	}

	public function setComment($comment)
	{
		$this->comment = $comment;
	}

	public function display()
	{
		$this->assignRef('comment', $this->comment);
		return $this->tpl->fetch($this->getTemplate());
	}
}

?>
